const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  //关闭 eslint
  lintOnSave: false,
  productionSourceMap: false,
  devServer: {
    // 代理配置
    proxy: {
      '/api': {
        target: 'http://localhost:10001',
        pathRewrite: {
          '^/api': ''
        }
      },
    }
  }
})
